<#macro viewLifeEvoluter evoluter="" >
	
	<table>
		<tr>
			<td><span class="label">Life evoluter </span></td>
			<td><span>${evoluter.name}</span></td>
		</tr>		
		<tr>
			<td><span class="label">implementation </span></td>
			<td><span> ${evoluter.getClass().getName()}</span></td>
		</tr>
		<tr>
			<td><span class="label">Status</span></td>
			<td><span> ${evoluter.status}</span></td>
		</tr>
		<tr>
			<td><span class="label">Test Data provider</span></td>
			<td><span> ${evoluter.status}</span></td>
		</tr>
		<tr>
			<td><span class="label">Teacher</span></td>
			<td><span> ${evoluter.status}</span></td>
		</tr>
		
		
	</table>

</#macro>

<#macro viewNuclearMatrix matrix="" >

<#assign column=matrix.columnsCount/>
<#assign row=matrix.rowsCount/>

	<table class='matrix'>
	<!--
		<th></th>
	-->	
		<tr>			
		<#list 0..column as i>		
			<td class="row-index">
				${i}
			</td>
		</#list>
		</tr>	
	
	
		<#list 0..row-1  as r>
			<tr>
				<td class="row-index">
					${r+1}
				</td>
				<#list 0..column -1 as c>
					<td>
						<@ins.nuclear matrix.get(r,c)/>
					</td>
  			
				</#list>
  			</tr>
		</#list>
		
	</table>

</#macro>

<#macro nuclear n>

	<span class="nuclear-weight">${n.weight}</span>
	<br/>
	<span class="nuclear-threshold">${n.threshold}</span>
	<br/>
	<span class="nuclear-state">${n.state}</span>
	<br/>
</#macro>